home *** CD-ROM | disk | FTP | other *** search
/ The 640 MEG Shareware Studio 2 / The 640 Meg Shareware Studio CD-ROM Volume II (Data Express)(1993).ISO / mailers / relock20.zip / SAMPLBAT.DOC < prev   
Text File  |  1992-07-21  |  765b  |  26 lines

  1. : Here's a sample of a batch file using the If statement to lie to the BBS
  2. : about the current baud rate.  You should be able to adapt this to your
  3. : BBS if necessary to make it work with RELOCK.  In the section "TooFast"
  4. : place the baud rate that RELOCK has set the modem/fossil to.
  5.  
  6. : Use this "lie to the BBS' approach only if you are experiencing problems
  7. : getting RELOCK to work properly.
  8.  
  9. C:
  10. cd \QWKBBS\Node1
  11.  
  12. : %1 is the baud rate parameter the mailer passes to the batch file that
  13. : invokes the BBS.  Adjust as necessary.
  14.  
  15. If "%1"=="12000" Goto TooFast
  16. If "%1"=="14400" Goto TooFast
  17. If "%1"=="16800" Goto Toofast
  18. QUICKBBS -b%1 -t%2 -e0 -n1
  19. goto After_Quick
  20.  
  21. :TooFast
  22. QUICKBBS -b19200 -t%2 -e0 -n1
  23. goto After_Quick
  24.  
  25. : and so on...
  26.